SWEP.Base = "weapon_ic_baseweapon"

if SERVER then
	AddCSLuaFile ("shared.lua")
end

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.PrintName			= "AK47"
SWEP.Description		= "A high-power low accuracy automatic-fire solution to crowd control, challenging to use beyond low-medium range."

SWEP.Slot					= 2
SWEP.Cost					= 2800
SWEP.IconFont				= "CSKillIcons"
SWEP.IconLetter				= "b"

SWEP.Primary.ClipSize		= 30
SWEP.Primary.DefaultClip	= 240
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "smg1"

SWEP.Primary.Sound			= Sound ("Weapon_AK47.Single")

SWEP.Primary.Delay			= 0.11
SWEP.Primary.Damage			= 32
SWEP.Primary.Cone			= 0.026
SWEP.Primary.Kick			= 1.7

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false 
SWEP.Secondary.Ammo			= "none"

SWEP.ViewModel = "models/weapons/v_rif_ak47.mdl"
SWEP.ViewModelFlip = true
SWEP.ViewModelDefPos = Vector (4.1774, -2.0709, 2.355)
SWEP.ViewModelDefAng = Vector (0,0,0)

SWEP.ReloadLength = 2.45

SWEP.WorldModel = "models/weapons/w_rif_ak47.mdl"
SWEP.HoldType = "ar2"

if CLIENT then killicon.AddFont("weapon_ic_ak47", SWEP.IconFont, SWEP.IconLetter, Color(255, 80, 0, 255)) end

SWEP.IsRifle	= true
